package com.lanou.hotel.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author msy
 * @since 2023-10-28
 */
@TableName("t_home")
public class Home implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private Integer num;

    private String price;

    private String state;

    private String text;

    @TableField(exist = false)
    private List<Image> imageList;

    private Integer hTypeId;

    public List<Image> getImageList() {
        return imageList;
    }

    public void setImageList(List<Image> imageList) {
        this.imageList = imageList;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public Integer gethTypeId() {
        return hTypeId;
    }

    public void sethTypeId(Integer hTypeId) {
        this.hTypeId = hTypeId;
    }

    @Override
    public String toString() {
        return "Home{" +
            "id = " + id +
            ", num = " + num +
            ", price = " + price +
            ", state = " + state +
            ", text = " + text +
            ", hTypeId = " + hTypeId +
        "}";
    }
}
